Skip to content

DEVPROD-16438 - migrate perf.send to cedar_report endpoint #1679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MAhmadShah
Copy link

The perf.send functionality in evergreen is no longer maintained and is not the preferred method of sending performance data to the signal processing service. This PR updates the evergreen yaml file to instead send the data down stream using the preferred performance-monitoring-api.corp.mongodb.com/raw_perf_results/cedar_report end point.

Changes were tested in this patch and data was confirmed to be sending correctly.

Comment on lines +782 to +789
script: |
if [ "${requester}" == "commit" ]; then
echo "is_mainline: true" >> expansion.yml
else
echo "is_mainline: false" >> expansion.yml
fi

echo "parsed_order_id: $(echo "${revision_order_id}" | awk -F'_' '{print $NF}')" >> expansion.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we move this script into a single shell.exec command at line 793? It looks like we might be able to skip expansions.update, which could help keep the CI file a bit more concise.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did try this originally, but evergreen was not handling the variable assignment without them being written to the expansions unfortunately, the variables were not being retained after assignment (showing up as null when I recalled them).

@MAhmadShah
Copy link
Author

@vbabanin I've made updates with regards to your feedback, here is a new patch:
https://spruce.mongodb.com/version/680a502816380d0007d0cfb3/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

@MAhmadShah MAhmadShah requested a review from vbabanin April 24, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants